package com.leyu.mall.admin.cms.service;

import java.util.List;
import java.util.Map;

import com.leyu.mall.admin.cms.domain.CmsNews;

public interface ICmsNewsService {

	public List<CmsNews> getAllCmsNews() throws Exception;

	public CmsNews getCmsNewsById(Long id) throws Exception;

//	public void addCmsNews(CmsNews cmsChannel) throws Exception;
//
//	public void updateCmsNews(CmsNews cmsChannel) throws Exception;

	public void deleteCmsNews(Long id) throws Exception;
	
	public void save(CmsNews entity) throws Exception;
	
	 List<CmsNews> getNewsListByPage(CmsNews pagebean) throws Exception ;
	 public int getNewsListByPageCount()throws Exception ;
}
